package com.gljx.web.service;

import com.gljx.web.Entity.Sharecartworeg;
import com.gljx.web.Entity.Sharecartworegentry;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/20 0020.
 */
public interface SharecartworegService {
    List<Sharecartworegentry> selectSharecartworegentryByFid(String fid, String cfstudentname);

    Map<String, Object> selectPage(int pindex, String s, int psize);

    Map<String, Object> selectPageCount(String psql);

    Sharecartworegentry queryPersonCarByFid(String id);


    void deleteBySharecartworegKey(String[] deleteId, String[] fnumber);

    Sharecartworeg selectSharecartworegByFid(String fid);

    void addsharecartworeg(String state, Sharecartworeg sharecartworeg, String[] jlznamebm, String[] jlzname, String[] cfduizhang, String[] jlname, String[] cfcoachphone, String[] cfcarcx, String[] cfcarnumber, String[] cfstudentid, String[] xyname, String[] cfstudentno, String[] cfidcardno, String[] cfstuvip, String[] cfstubillstate, String[] cffristexam, String[] cfkeyhgsj, String[] cfsex, String[] cflastkssj, String[] cfkscs, String[] cfphone, String[] cfmobile, String[] cfsqzjcx, String[] cfbdyd, String[] cfpxlx, String[] cftjr, String[] cfclazz, String[] cfyishou, String[] cfysje, String[] cfyouhui, String[] cfqianfei, String[] cfremark);

    //修改学生的状态
    void modifyStudentsState(String[] cfstudentid, String[] cfstubillstateid, String cflcsjid);

    void modifyStudentsState2(String[] cfstudentid, String[] cfstubillstateid, String cflcsjid);


    /**
     * @Author lcx
     * @Date 2018/2/26 0026 下午 4:04
     * 添加日志 提交 1  审核 2 反审核 3
     */
    void addLog(String fid, String state);

    //通过 练车时间id 学生id 查询该学生 在这个练车时间下 分车的 最新的一条记录的 学生状态
    Long selectStudentstateAsLcsjAndStudentId(String cflcsjid, String s1);

    List<Sharecartworegentry> selectSharecartworegAsXls(String fnumber, String fdescription, String cfstudentname, String beginTime, String endTime, String fcompanyid);
}
